package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Description: 修改供应商入参类
 * @Author: zhuchi
 * @CreateDate: 2020/12/15 12:04
 * @Version: 1.0
 */
@Data
@ApiModel(value = "修改供应商入参类")
public class UpdateSupplierModel {

    /**
     * 供应商ID
     */
    @ApiModelProperty(value = "供应商ID")
    @NotNull(message = "请选择要修改的供应商")
    private Long supplierId;

    /**
     * 供应商名称
     */
    @ApiModelProperty(value = "供应商名称")
    @NotBlank(message = "请填写供应商名称")
    private String supplierName;

    /**
     * 供应商介绍
     */
    @ApiModelProperty(value = "供应商介绍")
    private String supplierIntroduce;

}
